package com.gzsxy.esjy.service.base.dto.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @author xiaolong
 * @version 1.0
 * @description: 评论请求实体
 * @date 2022/2/13 18:56
 */
@Data
@ApiModel
public class CommentRequest {

    @ApiModelProperty(value = "id")
    private String id;

    @ApiModelProperty(value = "内容")
    private String content;

    @ApiModelProperty(value = "评价分数")
    private BigDecimal contentScore;

    @ApiModelProperty(value = "评论人ID（外键）")
    private String fromuserId;

    @ApiModelProperty(value = "来自账号")
    private String fromuserName;

    @ApiModelProperty(value = "商品ID（外键）")
    private String productId;

    @ApiModelProperty(value = "用户id")
    private String userId;

    @ApiModelProperty(value = "用户ip")
    private String userIp;

    @ApiModelProperty(value = "回复人用户名")
    private String replyUserName;

    @ApiModelProperty(value = "回复内容")
    private String replyContent;

    @ApiModelProperty(value = "回复用户id")
    private String replyUserId;
}
